\documentclass{book}%

\usepackage[left=1in,right=1in,top=1.2in,bottom=1.5in]{geometry}
\usepackage[T1]{fontenc}
\usepackage{kpfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{enumerate}
\usepackage{centernot}
\usepackage[inference]{semantic}
\usepackage[bookmarks]{hyperref}

\pdfpagewidth 8.5in
\pdfpageheight 11.0in
\reversemarginpar
\setlength{\marginparwidth}{2in}
\setlength{\parindent}{0pt}
\allowdisplaybreaks

\newtheoremstyle{mythm}% name
  {\baselineskip}% space above
  {\baselineskip}% space below
  {}% body font
  {}% indent amount
  {\bfseries}% theorem head font
  {:}% punctuation after theorem head
  { }% space after theorem head
  {}% theorem head spec

\theoremstyle{mythm}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{algorithm}{Algorithm}[section]
\newtheorem*{example}{Example}%[section]
\newtheorem{definition}{Definition}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem*{remark}{Remark}

\let\oldmarginpar\marginpar
\renewcommand{\marginpar}[1]{}
\newcommand{\abs}[1]{\left\lvert#1\right\rvert}
\newcommand{\norm}[1]{\left\lVert#1\right\rVert}
\newcommand{\lra}{\leftrightarrow}
\newcommand{\floor}[1]{\left\lfloor#1\right\rfloor}
\newcommand{\ceil}[1]{\left\lceil#1\right\rceil}
\newcommand{\tab}{\hspace*{1cm}}

\includeonly{ch2}

\begin{document}
% \tableofcontents
\include{ch1}
\include{ch2}
\include{ch3}
\end{document}
